/*


Author :Vishwajeet Dusane
*/

#include"jacobi.h"



int main(int argc,char *argv[])
{
JacobiIteretion JI;

char fnameA[50],fnameB[50];

  if(argc==1)
     JI.jacobi("example1","example1B");
 else
  if(argc==3)
     JI.jacobi(argv[1],argv[2]); 
 else
  if(argc==2)     
  {
    cout<<"ERROR: WHILE CALCULATING MATRIX  "<<argv[1]<<endl;
    exit(0);
  }  
 else
   {
    cout<<"ERROR : TOO MANY ARGUMENTS"<<endl;
    exit(0);
   }
 

 

 
return 0;
}
